home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48_2 / array.for < prev    next >
Text File  |  1991-04-12  |  1KB  |  41 lines

  1. Article 2550 of comp.sys.handhelds:
  2. Path: en.ecn.purdue.edu!noose.ecn.purdue.edu!samsung!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.dnickel
  3. From: akcs.dnickel@hpcvbbs.UUCP (Derek Scott Nickel)
  4. Newsgroups: comp.sys.handhelds
  5. Subject: Re: Re: Lists in the HP48 (really arrays)
  6. Message-ID: <274f6bc9:1222.3comp.sys.handhelds;1@hpcvbbs.UUCP>
  7. Date: 25 Nov 90 07:40:05 GMT
  8. References: <kskalb.659353921@faui1f> <5880@uqcspe.cs.uq.oz.au>
  9. Lines: 27
  10.  
  11. I've played around with Arrays of odd types (even Ayyays of Code).  The
  12. message tables in HYDE are just Array of String.  But the user-level
  13. commands only recognize 1 and 2 dimensional arrays of Real Number or
  14. Complex Number.
  15.  
  16. In case any body cares...
  17.  
  18. Array (029EB)
  19.  
  20. <prolog><size><item-prolog><#dims><dim-1>...<dim-n><item-1>...
  21.     <item-m>
  22.  
  23. <prolog> = 029EB (BIN5)
  24.  
  25. <size> = size of object in nibbles without the prolog (BIN5)
  26.  
  27. <item-prolog> = prolog of array elements (BIN5)
  28.  
  29. <#dims> = number of array dimensions (BIN5)
  30.  
  31. <dim-i> = i-th dimension (BIN5)
  32.  
  33. <item-j> = j-th item sans prolog (ANY)
  34.  
  35. n = <#dims>
  36. m = <dim-1> * <dim-2> * ... * <dim-n>
  37.  
  38.         Derek S. Nickel
  39.  
  40.  
  41.